package com.xinzhi.mapper;

import com.xinzhi.entity.Product;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;


@Component
public interface ProductMapper {
    /**
     * 通过id来查到对应物品的信息
     * @param id 物品id
     * @return
     */
    Product selectPriceByGoodsId(@Param("id") int id);
}
